<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ShowForm
 *
 * @author asmaa
 */
class APP_Form_ShowForm extends Zend_Form {
    public function init()
    {
        $userName = new Zend_Form_Element_Text('userName');        
        $userName->setLabel('Name: ')  
                ->setAttrib('readonly', 'true');
        $this->addElement($userName);

        $mail = new Zend_Form_Element_Text('mail');
        $mail->setLabel('Email: ')
                ->setAttrib('readonly', 'true');
               
        $this->addElement($mail);
        
        $job = new Zend_Form_Element_Text('job');        
        $job->setLabel('Job: ')  
                ->setAttrib('readonly', 'true');
        $this->addElement($job);

        $bdate=new Zend_Form_Element_Text('bdate');
        $bdate->setLabel('Birthday: ')
               ->setAttrib('readonly', 'true');
        $this->addElement($bdate);
        
        $add = new Zend_Form_Element_Text('add');
        $add->setLabel('Address: ')
                ->setAttrib('readonly', 'true');
        $this->addElement($add);
   
        $country = new Zend_Form_Element_Text('country');
        $country->setLabel('Country: ')
                ->setAttrib('readonly', 'true');
        $this->addElement($country);
       
        $crdtLmt = new Zend_Form_Element_Text('crdtLmt');
        $crdtLmt->setLabel('Credit Limit: ')
               ->setAttrib('readonly', 'true');
        $this->addElement($crdtLmt);
        
        $crdtNum = new Zend_Form_Element_Text('crdtNum');
        $crdtNum->setLabel('Credit Card Number: ')
                ->setAttrib('readonly', 'true');
        $this->addElement($crdtNum);
   
    }
}

?>
